package com.ukao.cashregister.bean;

import java.util.List;

/**
 * Created by ukaodev on 2017/8/21.
 */

public class TradeRecordBean extends   BaseBean<TradeRecordBean>{



        /**
         * pageNum : 1
         * pageSize : 8
         * size : 8
         * orderBy : null
         * startRow : 1
         * endRow : 8
         * total : 27
         * pages : 4
         * list : [{"tradeTime":1501494546000,"amount":100,"orderNo":"571457269745","payMethodText":"会员卡(余额)","orderId":1,"payMethod":3,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"M20170731174905471211","status":1},{"tradeTime":1501494546000,"amount":18900,"orderNo":"571457269745","payMethodText":"现金","orderId":1,"payMethod":2,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"M20170731174906910452","status":1},{"tradeTime":1501658465000,"amount":100,"orderNo":"389955503469","payMethodText":"微信","orderId":29,"payMethod":1,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"M201708021521045826677362","status":1},{"tradeTime":1502266330000,"amount":100100,"orderNo":"389955503469","payMethodText":"现金","orderId":29,"payMethod":2,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"M20170809161209128818","status":1},{"tradeTime":1502350003000,"amount":0,"orderNo":"2017080996182342","payMethodText":"会员卡(余额)","orderId":56,"payMethod":3,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"20170810152642778785","status":1},{"tradeTime":1502350003000,"amount":10600,"orderNo":"2017080996182342","payMethodText":"现金","orderId":56,"payMethod":2,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"20170810152643056269","status":1},{"tradeTime":1502350305000,"amount":2000,"orderNo":"2017081095318443","payMethodText":"会员卡(余额)","orderId":58,"payMethod":3,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"20170810153144715823","status":1},{"tradeTime":1502350305000,"amount":2000,"orderNo":"2017081095318443","payMethodText":"银联卡","orderId":58,"payMethod":7,"orderOriginText":"收银机","statusText":"交易成功","orderOrigin":8,"storeName":"友靠麓云店","seq":"20170810153145486718","status":1}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 2
         * lastPage : 4
         * isFirstPage : true
         * isLastPage : false
         * hasPreviousPage : false
         * hasNextPage : true
         * navigatePages : 8
         * navigatepageNums : [1,2,3,4]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * tradeTime : 1501494546000
             * amount : 100
             * orderNo : 571457269745
             * payMethodText : 会员卡(余额)
             * orderId : 1
             * payMethod : 3
             * orderOriginText : 收银机
             * statusText : 交易成功
             * orderOrigin : 8
             * storeName : 友靠麓云店
             * seq : M20170731174905471211
             * status : 1
             */

            private long tradeTime;
            private int amount;
            private String orderNo;
            private String payMethodText;
            private int orderId;
            private int payMethod;
            private String orderOriginText;
            private String statusText;
            private int orderOrigin;
            private String storeName;
            private String seq;
            private int status;

            public long getTradeTime() {
                return tradeTime;
            }

            public void setTradeTime(long tradeTime) {
                this.tradeTime = tradeTime;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getPayMethodText() {
                return payMethodText;
            }

            public void setPayMethodText(String payMethodText) {
                this.payMethodText = payMethodText;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public int getPayMethod() {
                return payMethod;
            }

            public void setPayMethod(int payMethod) {
                this.payMethod = payMethod;
            }

            public String getOrderOriginText() {
                return orderOriginText;
            }

            public void setOrderOriginText(String orderOriginText) {
                this.orderOriginText = orderOriginText;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getOrderOrigin() {
                return orderOrigin;
            }

            public void setOrderOrigin(int orderOrigin) {
                this.orderOrigin = orderOrigin;
            }

            public String getStoreName() {
                return storeName;
            }

            public void setStoreName(String storeName) {
                this.storeName = storeName;
            }

            public String getSeq() {
                return seq;
            }

            public void setSeq(String seq) {
                this.seq = seq;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

}
